feat(templates): add Vercel to Next.js + SaaS starters#3
Open
MasonStation wants to merge 1 commit intomainfrom
Open
feat(templates): add Vercel to Next.js + SaaS starters#3MasonStation wants to merge 1 commit intomainfrom
MasonStation wants to merge 1 commit intomainfrom
Conversation
The site catalog (Templates.astro) already advertised Vercel under nextjs-supabase-posthog, but the underlying templates/.../stack.toml was missing the service — so `stack init --template nextjs-supabase- posthog` left users without a deploy target despite the marketing promise. This patch closes that gap and adds Vercel to the maximal SaaS starter as well, where it's the obvious deploy default. - nextjs-supabase-posthog: + [services.vercel] - supabase-posthog-sentry-resend: + [services.vercel] - nextjs-neon-vercel-sentry: unchanged (already had Vercel) - cloudflare-turso-clerk, claude-agent-openai-anthropic: unchanged (legitimately don't deploy to Vercel) Mirror updates so all surfaces stay consistent: templates-ref.ts, Templates.astro, llms.txt, llms-full.txt, CHANGELOG. Verified `stack init --template <name> --noProvision` writes the expected [services.vercel] block for both edited templates. Assisted-By: ashlr-plugin <https://plugin.ashlr.ai>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nextjs-supabase-posthog(Templates.astrolisted it in the stack), but the actualtemplates/nextjs-supabase-posthog/stack.tomlhad no[services.vercel]block — sostack init --template nextjs-supabase-posthogprovisioned Supabase + PostHog only, with no deploy target. Site and template now agree.[services.vercel]tosupabase-posthog-sentry-resend(the maximal SaaS starter). Anyone running this stack ships to Vercel or Cloudflare in practice; Cloudflare has its own template, so Vercel is the right default here.nextjs-neon-vercel-sentryalready had Vercel;cloudflare-turso-clerkandclaude-agent-openai-anthropiclegitimately don't deploy to Vercel.Files changed
templates/nextjs-supabase-posthog/stack.toml— add[services.vercel]templates/supabase-posthog-sentry-resend/stack.toml— add[services.vercel]packages/site/src/lib/templates-ref.ts— add Vercel to both templates'servicesarrays + update displayName, tagline, blurb, goodForpackages/site/src/components/Templates.astro— update SaaS template'sstack+refNames+ title + blurb (the nextjs-supabase-posthog entry already had Vercel here, only title/blurb tweaked)packages/site/public/llms.txt,llms-full.txt— keep agent-facing catalogs in syncCHANGELOG.md— entry under## UnreleasedVerification
bun test packages/cli/src/__tests__/init.test.ts packages/core/src/__tests__/pipeline.test.ts packages/core/src/__tests__/config.test.ts→ 14 pass, 0 failstack init --template nextjs-supabase-posthog --noProvision --noInteractivewrites[services.vercel](alongside supabase, posthog) ✅stack init --template supabase-posthog-sentry-resend --noProvision --noInteractivewrites[services.vercel](alongside supabase, posthog, sentry, resend, stripe) ✅Out of scope (caught while editing — file as separate issues)
packages/cli/README.md:12referencesnextjs-supabase-posthog-sentry, a template that doesn't exist. Likely a typo fornextjs-supabase-posthogorsupabase-posthog-sentry-resend.DEMO_SCRIPT.mdthumbnail/caption mention provisioning Supabase + PostHog undernextjs-supabase-posthog— once this PR lands, the demo will also provision Vercel; the demo copy may want updating before the next recording.Test plan
bun testpasses locally on the branchstack init --template nextjs-supabase-posthog(or the SaaS one), interactive, picks up Vercel in the provision looppackages/sitebuild still succeeds (cd packages/site && bun run build)🤖 Generated with Claude Code